package com.example.museum.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.example.museum.entity.CulturalInfo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface CulturalInfoMapper extends BaseMapper<CulturalInfo> {
    // 可以添加自定义查询方法

    Page<CulturalInfo> selectPageWithSearch(Page<CulturalInfo> page, @Param("query") String query);
}